package com.oo.packaging_2.subject;

/**
 * StudentTest--${description}
 *
 * @author: Jovi
 * @createTime: 2017-04-19 16:51
 **/
public class StudentTest {

    public static void main(String[] args) {
        Subject subject = new Subject(1, "计算机科学专业");
        Student student = new Student(1, "哈哈", 19, subject);
        Student student1 = new Student(2, "呵呵", 20, subject);
        student.learn();
        student1.learn();
        subject.intr();
    }
}
